<!--<style>
	.sq-top
	{
		background: white;
		color: #666;
	}
	.sq-top .middle
	{
		color: #666;
	}
	.sq-top a.sq-btn-top
	{
		color: #666;
	}
</style>-->
<div class="myAccount">
	<div class="balance">
		账户余额（元） <br />
		<span>{{data.miCoins==null?"0.00":data.miCoins | number:2}}</span>
	</div>
	<div class="detail">
		<div>
			累计收入（元）<br />
			<span style="color: #ff8f12;">{{data.inM==null?"0.00":data.inM | number:2}}</span>
		</div>
		<div style="border: 0px;padding-left: 30px;">
			累计提现（元）<br />
			<span style="color: #333333;">{{data.outT==null?"0.00":data.outT | number:2}}</span>
		</div>
	</div>
	<div class="cash">
		<a href="#/saveCash">我要提现</a>
	</div>
</div>
<div class="cashdetial" listen-blance>
		<p>资金明细</p>
		<!-- Nav tabs -->
		<ul class="cash-tab" role="tablist">
		    <li cash-tab ng-repeat="s in pageUi.balancelist" ng-class="{'active':$index==btype}" role="presentation"><a ng-click='showDetail($index)' href="#{{s.tabId}}" aria-controls="{{s.tabId}}" role="tab" data-toggle="tab">{{s.tabName}}</a></li>
		</ul>
		<!-- Tab panes -->
		<div class="tab-content">
		    <div balance-list ng-repeat="p in pageUi.balancelist" role="tabpanel" class="tab-pane" ng-class="{'active':$index==btype}" id="{{p.tabId}}">
		    	<table class="table ">
		    		<thead>
		    			<tr>
		    				<th ng-repeat="t in p.menu">{{t}}</th>
		    			</tr>
		    		</thead>
		    		<tbody>
		    			<tr ng-repeat="b in p.balancelist.rs">
		    				<td>{{b.createTime}}</td>
		    				<td>{{p.tType!=3?b.description:(b.state==0?"提现中":"已提现")}}</td>
		    				<td>{{b.money}}元</td>
		    			</tr>
		    		</tbody>
		    	</table>
		    	<div style="font-size: 13px;text-align: center;color: #777;" ng-if="!p.loadlist">正在加载..</div>
		    	<div style="font-size: 13px;text-align: center;color: #777;" ng-if="p.iswork&&p.balancelist.rs!=null&&p.loadlist">下拉加载更多</div>
		    	<div style="font-size: 13px;text-align: center;color: #777;" ng-if="!p.iswork">没有更多数据</div>
		    </div>		  
		</div>
</div>
